/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uvexposureapplication.eventrouting.elvin.notificationlistener;

import java.util.Observable;
import org.avis.client.NotificationEvent;
import org.avis.client.NotificationListener;

/**
 *
 * @author matthieukluj
 */
public class ServerNotificationListener extends Observable implements NotificationListener {

    @Override
    public void notificationReceived(NotificationEvent ne) {
        this.setChanged();
        this.notifyObservers(ne.notification.asMap());
    }
}
